#ifndef BEAM_H
#define BEAM_H
#include "GameObject.h"
class Beam : public GameObject
{
public:
	Beam(GameObject* source, GameObject* target);
	~Beam(void);

	virtual void DestroyData(void);
	virtual void Copy(void* address);
	virtual void Update(void);
	virtual void Draw(void);
	virtual int GetObjSize(void);
	virtual SDL_Texture* GetTexture(void);

	GameObject* GetSource(void);
	GameObject* GetTarget(void);
	int GetFramesRemaining(void);

private:
	GameObject* m_source;
	GameObject* m_target;
	int			m_framesRemaining;
};
#endif